<template>
    <div style="color: red;">
    
    播放器页面
    {{movie_id}}
    
    </div>


</template>

<script>
export default{
    data(){
        return {
            movie_id: ""
        }
    },

    //方法
    methods: {
        
    },

    // 生命周期
    mounted() {
        // 路由参数的获取 -> this.$route.params
        console.log("this.$route = ", this.$route)
        console.log("路由参数的获取 ：", this.$route.params)
        // 路由的查询获取 
        console.log("路由的查询是：", this.$route.query)



        const movie_id = this.$route.params.movie_id
        if(movie_id){
            console.log("播放 电影id=", this.movie_id = movie_id)
        }
    },
}
</script>

<style lang="scss">
    
</style>